#!/bin/bash
#
MARCIMPORT=/usr/local/marcimport
SABRE=/usr/local/vufind-smu
# Disable JETTY_CONSOLE output -- it causes problems when run by cron:
export JETTY_CONSOLE=/dev/null
#
date

####################################
# vufind import brighton files
cd $SABRE
for i in 1 2 3 4 5 6 7 8 9 10
do
  ./import-marc.sh $MARCIMPORT/full/brightonprocessed/brighton$i.mrc > $MARCIMPORT/full/brightonprocessed/import$i.txt
  echo Imported Brighton$i.mrc
done
date
